# 掩码输入和纯文本字符串
$pwd_string = Read-Host "Enter a Password" -MaskInput
# Prompt参数，要用Object
# $pwd_string = Read-Host "Enter a Password" -Prompt
$pwd_string